<%-- 
    Document   : addCarType
    Created on : Oct 26, 2011, 10:08:56 PM
    Author     : MrKoi
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.fckeditor.net" prefix="FCK"%>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="Style/style.css" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Add Car Type Page</title>                 
	<script src="development-bundle/jquery-1.6.2.js"></script>
        <script type="text/javascript" src="js/jquery.validate.js"></script>
        <script type="text/javascript" src="js/additional-methods.js"></script>	
        <script type="text/javascript">
            $(function(){
                $("#addCarType").validate({
                    rules:{
                        txtName: {
                            required: true                            
                        }
                    }                    
                })
            
        });     
	</script>
    </head>
    <body>
	<div id="header">
            <jsp:include page="header.jsp"/>
	</div>
	<div id="wrapper">
            <jsp:include page="sidebar.jsp"/>
            <div id="content">
			<div class="search"><span>Search</span> <input type="text" /></div>
			<div class="bg">
                            <div class="column1">
                                <center><span style="font-size: 15px;color: #2a2b2b;width: 200px;font-style: italic;font-weight: bold;">Add Car Type</span><hr width="200" style="color: #0000FF"></hr></center><br>
                                <form name="addCarType" action="" id="addCarType" enctype="multipart/form-data" method="post">
                                    <table cellspacing="10"  border="0" style="background-color: #eaeff2">                                    
                                    <tr>
                                        <td valign="top">Name: </td><td valign="top"><input type="text" name="txtName" size="60"/></td>
                                    </tr>                                                                        
                                    <tr>
                                        <td valign="top">Description: </td><td valign="top"><FCK:editor instanceName="fckDescription" height="250" width="388" toolbarSet="TourAndTravel"></FCK:editor>    
                                            </td>
                                    </tr>                                
                                 
                                    <tr align="center">
                                        <td colspan="2" valign="top"><input type="submit" value="Add"/> ||| <input type="reset"/></td>
                                    </tr>                                        
                                </table>
                                    </form>
                            </div>
                            <div class="column2">
                                <jsp:include page="column2.jsp"/>
                            </div>               
                            
				
			</div>
		</div>
	</div>
	<div id="footer">
            <jsp:include page="footer.jsp"/>
	</div>
</body>
</html>